package com.ruoyi.ui.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.stringtemplate.v4.ST;

import java.util.List;

/**
 * 店铺对象 ui_shops
 * 
 * @author ruoyi
 * @date 2022-09-06
 */
public class UiShops extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺id */
    private Long shopId;

    /** 行业 */
    @Excel(name = "行业")
    private int categoryId;


    @Excel(name = "类型")
    private String categoryName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String moblie;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String workImg;

    /** 环境照 */
    @Excel(name = "环境照")
    private String environmentImg;

    /** 0 关门 1开门 */
    @Excel(name = "0 关门 1开门")
    private String state;


    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setCategoryId(int categoryId)
    {
        this.categoryId = categoryId;
    }

    public int getCategoryId()
    {
        return categoryId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMoblie(String moblie) 
    {
        this.moblie = moblie;
    }

    public String getMoblie() 
    {
        return moblie;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setWorkImg(String workImg) 
    {
        this.workImg = workImg;
    }

    public String getWorkImg() 
    {
        return workImg;
    }
    public void setEnvironmentImg(String environmentImg) 
    {
        this.environmentImg = environmentImg;
    }

    public String getEnvironmentImg() 
    {
        return environmentImg;
    }
    public void setState(String state)
    {
        this.state = state;
    }

//    public Integer getState(){
//        if (state==1){
//           return state = 2;
//        }else if (state==0){
//           return state =3;
//        }
//
//    }
    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("categoryId", getCategoryId())
            .append("name", getName())
            .append("moblie", getMoblie())
            .append("address", getAddress())
            .append("shopName", getShopName())
            .append("workImg", getWorkImg())
            .append("environmentImg", getEnvironmentImg())
            .append("state", getState())
                .append("categoryName", getCategoryName())
            .toString();
    }
}
